package com.example.goods_service.service;

import com.example.goods_service.dao.GoodsDao_liujingxi;
import com.example.goods_service.vo.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl_liujingxi implements GoodsService_liujingxi{

    @Autowired
    GoodsDao_liujingxi goods_Dao_liujingxi;

    @Override
    public List<T_commodity> selectgoods(int id) {
        return goods_Dao_liujingxi.selectgoods(id);
    }

    @Override
    public List<T_picture> selectpicture(int id) {
        return goods_Dao_liujingxi.selectpicture(id);
    }

    @Override
    public List<T_commodity_allocation> selectattribute(int id) {
        return goods_Dao_liujingxi.selectattribute(id);
    }

    @Override
    public List<T_category_config> selectconfiguration_type(int id) {
        return goods_Dao_liujingxi.selectconfiguration_type(id);
    }

    @Override
    public List<T_config_details> selectcolor(String color,int id) {
        return goods_Dao_liujingxi.selectcolor(color ,id);
    }

    @Override
    public List<T_config_details> selecter(String er ,int id) {
        return goods_Dao_liujingxi.selecter(er,id);
    }

    @Override
    public List<T_config_details> selectsan(String san,int id) {
        return goods_Dao_liujingxi.selectsan(san,id);
    }

    @Override
    public List<T_config_details> selectsi(String si ,int id) {
        return goods_Dao_liujingxi.selectsi(si,id);
    }

    @Override
    public List<T_commodity_allocation> selectpirce(int id, String attribute) {
        return goods_Dao_liujingxi.selectprice(id,attribute);
    }

    @Override
    public List<T_commodity_allocation> selectstock(int id, String attribute) {
        return goods_Dao_liujingxi.selectstock(id, attribute);
    }
}
